package edu.vt.sdm.tcga.View;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;

public class ViewRestoreAction extends Action implements IWorkbenchAction {
	private static final String ID = "edu.vt.sdm.tcga.View.ViewRestore";  
	
	@Override
	public void run() {
		Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();  
		String dialogBoxTitle = "Message";  
		String message = "You clicked something!";  
		MessageDialog.openInformation(shell, dialogBoxTitle, message);  
		super.run();
	}

	@Override
	public void dispose() {
		// TODO Auto-generated method stub

	}

}
